home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / docs / help / tkg_edit.lha / tkg-ed_start_guide_4.1 / TKG-EDITOR-GO! < prev    next >
Text File  |  1997-12-08  |  9KB  |  386 lines

  1.  
  2. (user 2)
  3.  
  4. (message "\nTKG-EDITOR INSTALLATION UTILITY 1.1"
  5.           "\n\nQuesto programma installerà per voi tutti i programmi"
  6.           "\ne i files che costituiscono l'editor di Killing Grounds."
  7.          "\n\nTenete a portata di mano i dischi di TKG!")
  8. (welcome)
  9.  
  10.  
  11. ; -----------------------------------------
  12. ; --- CHIEDO DOVE SI TROVA LA MIA GUIDA ---
  13. ; -----------------------------------------
  14. (set MY_GUIDE
  15.       (askdir
  16.          (prompt "Indicami dove si trova la directory\nTKG-ED_Start_Guide_4.1"
  17.                  "\n(cioè dove si trova la mia guida!)")
  18.  
  19.          (help @askdir-help)
  20.          (default "")
  21.       )
  22. )
  23.  
  24.  
  25. ; ---------------------------------
  26. ; --- CREO L'ASSIGN PER 'GUIDE' ---
  27. ; ---------------------------------
  28. (makeassign "GUIDE" MY_GUIDE)
  29.  
  30.  
  31. ; ------------------------------------------------
  32. ; --- CHIEDO DOVE SI VUOLE INSTALLARE L'EDITOR ---
  33. ; ------------------------------------------------
  34. (set Editor_dest    ; if user wants in different place
  35.    (tackon
  36.       (askdir
  37.          (prompt "In quale directory devo installare l'editor?\n(Una directory chiamata 'AB3D2' VERRA' creata!)")
  38.          (help @askdir-help)
  39.          (default @default-dest)
  40.       )
  41.    "AB3D2"
  42.    )
  43. )
  44. (makedir Editor_dest (infos))
  45. (set @default-dest Editor_dest)
  46.  
  47.  
  48. ; ---------------------------------
  49. ; --- CREO L'ASSIGN PER 'AB3D2' ---
  50. ; ---------------------------------
  51. (makeassign "AB3D2" Editor_dest)
  52.  
  53.  
  54. ; -------------------------------------
  55. ; --- CREO L'ALBERO DELLE DIRECTORY ---
  56. ; -------------------------------------
  57. (makedir "AB3D2:Bitmapobj")
  58. (makedir "AB3D2:Graphics")
  59.   (makedir "AB3D2:Graphics/Floors")
  60.   (makedir "AB3D2:Graphics/Textures")
  61. (makedir "AB3D2:HQN")
  62. (makedir "AB3D2:Includes")
  63. (makedir "AB3D2:Levels")
  64.   (makedir "AB3D2:Levels/Level_A")
  65.   (makedir "AB3D2:Levels/Level_B")
  66.   (makedir "AB3D2:Levels/Level_C")
  67.   (makedir "AB3D2:Levels/Level_D")
  68.   (makedir "AB3D2:Levels/Level_E")
  69.   (makedir "AB3D2:Levels/Level_F")
  70.   (makedir "AB3D2:Levels/Level_G")
  71.   (makedir "AB3D2:Levels/Level_H")
  72.   (makedir "AB3D2:Levels/Level_I")
  73.   (makedir "AB3D2:Levels/Level_J")
  74.   (makedir "AB3D2:Levels/Level_K")
  75.   (makedir "AB3D2:Levels/Level_L")
  76.   (makedir "AB3D2:Levels/Level_M")
  77.   (makedir "AB3D2:Levels/Level_N")
  78.   (makedir "AB3D2:Levels/Level_O")
  79.   (makedir "AB3D2:Levels/Level_P")
  80. (makedir "AB3D2:Libs")
  81. (makedir "AB3D2:Music")
  82. (makedir "AB3D2:Samples")
  83. (makedir "AB3D2:Vectobj")
  84.   (makedir "AB3D2:Vectobj/Backpack.prj")
  85.   (makedir "AB3D2:Vectobj/Gravpower.prj")
  86.   (makedir "AB3D2:Vectobj/Plasmagun.prj")
  87.   (makedir "AB3D2:Vectobj/Rocketlauncher.prj")
  88. (makedir "AB3D2:WallGFX")
  89. (makedir "AB3D2:WALLINC")
  90.  
  91.  
  92. ; -----------------------------------------------------------------------
  93. ; --- COPIA I FILES DALL'ARCHIVIO 'TKG_EDIT.LHA' ALLA DIRECTORY AB3D2 ---
  94. ; -----------------------------------------------------------------------
  95. (copyfiles
  96.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari")
  97.    (dest "AB3D2:")
  98.    (choices "256brighten.info"
  99.             "256floor.info"
  100.             "256lit.info"
  101.             "256obj.info"
  102.             "256texture"
  103.             "256texture.info"
  104.             "256wallchunk.info"
  105.             "animeditor.info"
  106.             "compactobj.info"
  107.             "complight.info"
  108.             "fibcomp.info"
  109.             "gamelinker.info"
  110.             "leved.info"
  111.             "LinkUP_1.1"
  112.             "LinkUP_1.1.info"
  113.             "objed.info"
  114.             "packdir.info"
  115.             "palettecreator.info"
  116.             "AB3D2")
  117. )
  118.  
  119. (copyfiles
  120.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Backpack.prj")
  121.    (dest "AB3D2:Vectobj/Backpack.prj/")
  122.    (all)
  123. )
  124.  
  125. (copyfiles
  126.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Gravpower.prj")
  127.    (dest "AB3D2:Vectobj/Gravpower.prj/")
  128.    (all)
  129. )
  130.  
  131. (copyfiles
  132.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Plasmagun.prj")
  133.    (dest "AB3D2:Vectobj/Plasmagun.prj/")
  134.    (all)
  135. )
  136.  
  137. (copyfiles
  138.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Rocketlauncher.prj")
  139.    (dest "AB3D2:Vectobj/Rocketlauncher.prj/")
  140.    (all)
  141. )
  142.  
  143. (copyfiles
  144.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Bitmapobj")
  145.    (dest "AB3D2:Bitmapobj/")
  146.    (all)
  147. )
  148.  
  149. (copyfiles
  150.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Floors")
  151.    (dest "AB3D2:Graphics/Floors/")
  152.    (all)
  153. )
  154.  
  155. (copyfiles
  156.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/Includes")
  157.    (dest "AB3D2:Includes/")
  158.    (all)
  159. )
  160.  
  161. (copyfiles
  162.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/WallINC")
  163.    (dest "AB3D2:WallINC/")
  164.    (all)
  165. )
  166.  
  167. (copyfiles
  168.    (source "GUIDE:TKG-ED_Start_Guide_4.1/Files_vari/DEMO_LEVEL")
  169.    (dest "AB3D2:Levels/Level_A/")
  170.    (all)
  171. )
  172.  
  173.  
  174. ; ---------------------------------------------------------
  175. ; --- COPIO I FILES DAL DISCO TKG1 ALLA DIRECTORY AB3D2 ---
  176. ; ---------------------------------------------------------
  177. (askdisk
  178.    (prompt "Inserisci il disco nominato \n\nTKG1"
  179.            "\n\n(4MB Version)")
  180.  
  181.    (help @askdisk-help)
  182.    (dest "TKG1")
  183. )
  184.  
  185. (copyfiles
  186.    (source "TKG1:")
  187.    (dest "AB3D2:")
  188.    (choices "TKG")
  189. )
  190.  
  191. (copyfiles
  192.    (source "TKG1:HQN")
  193.    (dest "AB3D2:HQN/")
  194.    (all)
  195. )
  196.  
  197. (copyfiles
  198.    (source "TKG1:Includes")
  199.    (dest "AB3D2:Includes/")
  200.    (choices "floortile"
  201.             "newtexturemaps"
  202.             "newtexturemaps.pal"
  203.             "rawbackpacked"
  204.             "TEXT_FILE")
  205. )
  206.  
  207. (copyfiles
  208.    (source "TKG1:Includes")
  209.    (dest "AB3D2:Bitmapobj/")
  210.    (choices "Alien2.256pal"
  211.             "Alien2.ptr"
  212.             "Alien2.wad"
  213.             "Bigbullet.256pal"
  214.             "Bigbullet.ptr"
  215.             "Bigbullet.wad"
  216.             "Explosion.256pal"
  217.             "Explosion.ptr"
  218.             "Explosion.wad"
  219.             "Glare.256pal"
  220.             "Glare.ptr"
  221.             "Glare.wad"
  222.             "Keys.256pal"
  223.             "Keys.ptr"
  224.             "Keys.wad"
  225.             "Lamps.256pal"
  226.             "Lamps.ptr"
  227.             "Lamps.wad"
  228.             "Pickups.256pal"
  229.             "Pickups.ptr"
  230.             "Pickups.wad"
  231.             "Rockets.256pal"
  232.             "Rockets.ptr"
  233.             "Rockets.wad"
  234.             "Splutch.256pal"
  235.             "Splutch.ptr"
  236.             "Splutch.wad")
  237. )
  238.  
  239. (copyfiles
  240.    (source "TKG1:libs")
  241.    (dest "AB3D2:Libs/")
  242.    (choices "lowlevel.library")
  243. )
  244.  
  245. (copyfiles
  246.    (source "TKG1:vectobj")
  247.    (dest "AB3D2:Vectobj/")
  248.    (all)
  249. )
  250.  
  251.  
  252. ; ---------------------------------------------------------
  253. ; --- COPIA I FILES DAL DISCO TKG2 ALLA DIRECTORY AB3D2 ---
  254. ; ---------------------------------------------------------
  255. (askdisk
  256.    (prompt "Inserisci il disco nominato \n\nTKG2")
  257.    (help @askdisk-help)
  258.    (dest "TKG2")
  259. )
  260.  
  261. (copyfiles
  262.    (source "TKG2:INCLUDES")
  263.    (dest "AB3D2:Includes/")
  264.    (choices "titlescrnraw1")
  265. )
  266.  
  267. (copyfiles
  268.    (source "TKG2:")
  269.    (dest "AB3D2:")
  270.    (choices "boot.dat")
  271. )
  272.  
  273. (copyfiles
  274.    (source "TKG2:music")
  275.    (dest "AB3D2:Music/")
  276.    (choices "packedtest")
  277. )
  278.  
  279.  
  280. ; ---------------------------------------------------------
  281. ; --- COPIA I FILES DAL DISCO SFX ALLA DIRECTORY AB3D2 ---
  282. ; ---------------------------------------------------------
  283. (askdisk
  284.    (prompt "Inserisci il disco nominato \n\nSFX")
  285.    (help @askdisk-help)
  286.    (dest "SFX")
  287. )
  288.  
  289. (copyfiles
  290.    (source "SFX:samples")
  291.    (dest "AB3D2:Samples/")
  292.    (all)
  293. )
  294.  
  295. (copyfiles
  296.    (source "SFX:EDIT/Graphics")
  297.    (dest "AB3D2:Graphics/")
  298.    (choices "editorbuttons")
  299. )
  300.  
  301. (copyfiles
  302.    (source "SFX:EDIT/Graphics/Textures/")
  303.    (dest "AB3D2:Graphics/Textures/")
  304.    (all)
  305. )
  306.  
  307. (copyfiles
  308.    (source "SFX:EDIT/Includes")
  309.    (dest "AB3D2:Includes/")
  310.    (choices "256pal"
  311.             "256palette"
  312.             "BRILPAL"
  313.             "findsame.inc"
  314.             "shadepal.aminc")
  315. )
  316.  
  317. (copyfiles
  318.    (source "SFX:EDIT/WallGFX")
  319.    (dest "AB3D2:WallGFX/")
  320.    (all)
  321. )
  322.  
  323.  
  324. ; ---------------------------------------------------------
  325. ; --- COPIA I FILES DAL DISCO Edit ALLA DIRECTORY AB3D2 ---
  326. ; ---------------------------------------------------------
  327. (askdisk
  328.    (prompt "Inserisci il disco nominato \n\nEdit")
  329.    (help @askdisk-help)
  330.    (dest "Edit")
  331. )
  332.  
  333. (copyfiles
  334.    (source "Edit:")
  335.    (dest "AB3D2:")
  336.    (choices "256brighten"
  337.             "256floor"
  338.             "256lit"
  339.             "256obj"
  340.             "256wallchunk"
  341.             "animeditor"
  342.             "compactobj"
  343.             "complight"
  344.             "fibcomp"
  345.             "gamelinker"
  346.             "leved"
  347.             "objed"
  348.             "packdir"
  349.             "palettecreator")
  350. )
  351.  
  352. (copyfiles
  353.    (source "Edit:Libs")
  354.    (dest "AB3D2:Libs/")
  355.    (choices "amos.library")
  356. )
  357.  
  358.  
  359. ; --------------------------------------------------------------------------- 
  360. ; Add assign to S:User-Startup (and make assign)
  361. ; ---------------------------------------------------------------------------
  362.  
  363.  (startup "TKG-EDITOR"
  364.    (prompt
  365.       "\nAlcune istruzioni devono essere aggiunte alla \"S:user-startup\" "
  366.       "in modo che il tuo Amiga sia in grado di far girare correttamente"
  367.       "\nl'editor di Killing Grounds."
  368.    )
  369.    (help @startup-help)
  370.    (command
  371.       "Assign AB3: " Editor_dest
  372.       "\n"
  373.    )
  374. )
  375.  
  376. (makeassign "AB3" Editor_dest)
  377.  
  378. (message "\nTUTTO FATTO!"
  379.           "\n\nOra non vi resta che modificare il file chiamato"
  380.           "\n'AB3D2' presente nella directory AB3D2"
  381.          "\n(leggete la mia guida per maggiori informazioni)"
  382.          "\n\n\nP.S. Se questa utility non ha funzionato"
  383.          "\ncorrettamente, mandatemi una e-mail all'indirizzo"
  384.          "\n'simone.z@sarah.eva.it'"
  385.          "\ngrazie!")
  386.